<template>
  <div v-if="bol">
    <router-view></router-view>
  </div>
</template>
<script>
import { ref, nextTick, provide } from 'vue'
export default {
  setup () {
    const bol = ref(true)
    function reload () {
      bol.value = false
      nextTick(() => {
        bol.value = true
      })
    }
    provide('reload', reload)
    return { bol }
  }
}
</script>
<style lang="less"></style>
